package com.water.wfo.component.mybatis.log4j;


import lombok.extern.slf4j.Slf4j;
import org.apache.ibatis.logging.Log;

/**
 * packageName com.water.wfo.component.mybatis.log4j
 *
 * @author junhuili
 * @version JDK 8
 * @date 2023/10/29
 * @description TODO
 */
@Slf4j
public class WfoLog4jImpl implements Log {
    public WfoLog4jImpl(String clazz){

    }
    @Override
    public boolean isDebugEnabled() {
        return Boolean.TRUE;
    }

    @Override
    public boolean isTraceEnabled() {
        return Boolean.TRUE;
    }

    @Override
    public void error(String s, Throwable throwable) {
        log.error(s,throwable);
    }

    @Override
    public void error(String s) {
        log.error(s);
    }

    @Override
    public void debug(String s) {
        log.debug(s);
    }

    @Override
    public void trace(String s) {
        log.trace(s);
    }

    @Override
    public void warn(String s) {
        log.warn(s);
    }
}
